package cn.edu.xmut.chen.zhlg.zhlg.user.mapper;

import cn.edu.xmut.chen.zhlg.zhlg.user.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("SELECT * FROM tb_user WHERE id = #{id}")
    User selectById(@Param("id") String id);
}
